const mongoose = require('mongoose');

mongoose.connect('mongodb+srv://2567326445:LmjdgFJedwXZCqLC@mydata.xw4yows.mongodb.net/')

const conn = mongoose.connection;

conn.on('open',()=>{
    console.log('已启动');
})

module.exports = mongoose;